package com.auction.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 卖家信息实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SellerInfo implements Serializable {
    private Long id; //

    private Long userId; // 用户ID

    private Integer totalSales; // 累计成交数

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime approvalDate; // 认证通过日期
}